import request from '../request'

export const ledgerApi = {
  // 获取路线销售统计
  getRouteStatistics: () => 
    request.get('/ledger/statistic_route_ledger'),
    
  // 获取分公司销售统计
  getBranchStatistics: () => 
    request.get('/ledger/statistic_branch_ledger'),
    
  // 获取导游销售统计
  getGuideStatistics: () => 
    request.get('/ledger/statistic_guide_ledger'),

  // 获取所有账单
  getAllLedgers: () => 
    request.get('/ledger/get_all_ledger')
} 